// 所有layouts中组件样式
.app-header{
  display: flex;
  padding: 0 20px 0 0;
  color:#606266;
  background:#fff;
  .app-header-nav{
    flex-wrap: wrap;
  }
  .app-helper-menu{
    margin-left: auto;
    display: flex;
  }
  .header-dropdown-wrap{
    &:hover{
      cursor: pointer;
    }
  }
}
.app-sider{
  .app-logo {
    background:#2b2f3a;
    height: 64px;
    line-height: 64px;
    overflow: hidden;
    .app-logo-img{
      width: 60px;
      margin-left: 25px;
      animation: app-logo-spin infinite 10s linear;
    }
    @keyframes app-logo-spin {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }
    h1{
      display: inline-block;
      color:#fff;
      font-size: 18px;
      text-align: center;
      font-weight: normal;
    }
  }
  .app-logo-on{
    overflow: hidden;
    text-align: center;
    .app-logo-img{
      margin-left: 0;
    }
  }
}
.app-content{
  padding: 20px;
}
.app-overlay-menu{
  width: 120px;
}
.github-corner{
  position: absolute;
  top: 64px;
  right: 0px;
  width: 120px;
  height: 120px;
  z-index: 9;
  cursor: pointer;
}
// TagsView
.app-tagsview {
  white-space: nowrap;
  width: 100%;
  height: 36px;
  line-height: 36px;
  border-bottom: 1px solid #d8dce5;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04);
  background: #fff;
  .tags-wrap {
    & > li {
      display: inline-block;
      &:first-of-type {
        margin-left: 15px;
        .ant-tag{
          border:0;
        }
      }
      &:last-of-type {
        margin-right: 15px;
      }
      &.tag-home{
        .ant-tag{
          padding: 0 13px;
        }
      }
    }
    .ant-tag{
      line-height: 35px;
      margin-right: 0;
      border:0;
      border-left:1px solid #f6f6f6;
      border-radius: 0;
      padding: 0 8px;
      cursor: pointer;
      .anticon-close{
        padding-left: 3px;
        &:hover{
          color:#333;
        }
      }
    }
    .tag-active{
      .ant-tag{
        background-color: #42b983;
        color: #fff;
        border-color: #42b983;
        .anticon-close{
          color: #fff;
          &:hover{
            color:rgb(247, 210, 2);
          }
        }
      }
    }
  }
  .contextmenu {
    margin: 0;
    background: #fff;
    z-index: 3000;
    position: absolute;
    list-style-type: none;
    padding: 5px 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
    li {
      margin: 0;
      padding: 0px 16px;
      height: 30px;
      cursor: pointer;
      &:hover {
        background: #eee;
      }
    }
  }
}
.scrollbar-container {
  overflow-y: hidden !important;
}
.scrollbar-track-vertical {
  visibility: hidden !important;
}
